<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <th:block th:include="include :: header('业绩信息')" />
    <link href="../static/css/workboard.css" th:href="@{/css/workboard.css}" rel="stylesheet" />
    <title>Document</title>

</head>

<body>
    <div class="container-div">
        <div class="tabsbody ">
            <div class="tabsbody-item active">
                <form action="">
                    <table border="0" cellpadding="0" cellspacing="0" style="width: 100%;width: 80%;margin:0 auto">
                        <tbody>
                            <tr>
                                <td>
                                    <div class="page-title">
                                        <span>在琼检测项目信息</span>
                                    </div>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <table class="tbEidt"
                                        style="background-color: #ffffff; width: 100%; border-collapse: collapse;border-width: 1px 1px 1px 1px;">
                                        <tbody>
                                            <tr>
                                                <td class="tdTitle" style="width: 20%;">项目名称
                                                </td>
                                                <td class="tdContent" style="width: 30%;">
                                                    <span
                                                        id="txtProjectName" th:text="${ip}==null or ${ip.projectName}==null ? '':${ip.projectName}"></span>
                                                </td>
                                                <td class="tdTitle" style="width: 20%;">所属资质类型
                                                </td>
                                                <td class="tdContent" style="width: 30%;">
                                                    <span
                                                        id="ddlCorpCertType" th:text="${ip}==null or ${ip.corpCertType}==null ? '':${ip.corpCertType}"></span>
                                                </td>
                                            </tr>
                                            <tr id="tr_ProjectScale">
                                                <td class="tdTitle">所在市县
                                                </td>
                                                <td class="tdContent">
                                                    <span
                                                        id="ddlCityNum" th:text="${ip}==null or ${ip.cityNum}==null ? '':${ip.cityNum}"></span>
                                                </td>
                                                <td class="tdTitle">

                                                </td>
                                                <td class="tdContent">

                                                </td>
                                            </tr>
                                            <tr id="ProjectTypeTr">
                                                <td class="tdTitle">项目规模（㎡）
                                                </td>
                                                <td class="tdContent">
                                                    <span
                                                        id="txtProjectScale" th:text="${ip}==null or ${ip.projectScale}==null ? '':${ip.projectScale}"></span>
                                                </td>
                                                <td class="tdTitle">市政规模
                                                </td>
                                                <td class="tdContent">
                                                    <span
                                                        id="txtMunicipalScale" th:text="${ip}==null or ${ip.municipalScale}==null ? '':${ip.municipalScale}"></span>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td class="tdTitle">建设单位
                                                </td>
                                                <td class="tdContent">
                                                    <span
                                                        id="txtConstructionUnit" th:text="${ip}==null or ${ip.constructionUnit}==null ? '':${ip.constructionUnit}"></span>
                                                </td>
                                                <td class="tdTitle">建设单位统一社会信用代码/组织机构代码
                                                </td>
                                                <td class="tdContent">
                                                    <span
                                                        id="txtOrganizationCode" th:text="${ip}==null or ${ip.organizationCode}==null ? '':${ip.organizationCode}"></span>
                                                </td>
                                            </tr>
                                            <tr id="tr_ProjectAddress">
                                                <td class="tdTitle">项目地址
                                                </td>
                                                <td class="tdContent">
                                                    <span
                                                        id="txtProjectAddress" th:text="${ip}==null or ${ip.projectAddress}==null ? '':${ip.projectAddress}"></span>
                                                </td>
                                                <td class="tdTitle"><span
                                                        id="lblAtOriginNameTitle">行政主管部门</span>
                                                </td>
                                                <td class="tdContent">
                                                    <span
                                                        id="ddlAtOriginName" th:text="${ip}==null or ${ip.atOriginName}==null ? '':${ip.atOriginName}"></span>
                                                </td>
                                            </tr>

                                            <tr>
                                                <td class="tdTitle">合同金额（万元）
                                                </td>
                                                <td class="tdContent">
                                                    <span
                                                        id="txtContactMonty" th:text="${ip}==null or ${ip.contactMonty}==null ? '':${ip.contactMonty}"></span>
                                                </td>
                                                <td class="tdTitle"></td>
                                                <td class="tdContent"></td>
                                            </tr>
                                            <tr id="Jc1">
                                                <td class="tdContent" colspan="4" style="padding: 5px">
                                                    <table cellpadding="0" cellspacing="0" style="width: 100%">
                                                        <tbody>
                                                            <tr>
                                                                <td align="center">
                                                                    <div>
                                                                        <table class="ListStyle" cellspacing="0"
                                                                            cellpadding="0" rules="all" border="1"
                                                                            id="gridView"
                                                                            style="width:100%;border-collapse:collapse;">
                                                                            <tbody>
                                                                                <tr>
                                                                                    <th class="ListNewHead_Center"
                                                                                        scope="col" style="width:35px;">
                                                                                        	序号</th>
                                                                                    <th class="ListNewHead_Center"
                                                                                        scope="col">检测内容</th>
                                                                                    <th class="ListNewHead_Center"
                                                                                        scope="col"
                                                                                        style="width:120px;">检查项目类别</th>
                                                                                    <th class="ListNewHead_Center"
                                                                                        scope="col"
                                                                                        style="width:160px;">检测时间</th>
                                                                                    <th class="ListNewHead_Center"
                                                                                        scope="col" style="width:80px;">
                                                                                        	完成工作量</th>
                                                                                    <th class="ListNewHead_Center"
                                                                                        scope="col" style="width:70px;">
                                                                                        	负责人</th>
                                                                                    <th class="ListNewHead_Center"
                                                                                        scope="col" style="width:70px;">
                                                                                        	联系电话</th>
                                                                                </tr>
                                                                                <tr th:if="${ip != null && ip.cpcList !=null && ip.cpcList.size()!=0}" th:each="cpc,stat : ${ip.cpcList}">
                                                                                    <td class="ListNewItem_Center"
                                                                                        style="width:35px;" th:text="${stat.count}"></td>
                                                                                    <td class="ListNewItem_Center" th:text="${cpc.checkContent}">
                                                                                    </td>
                                                                                    <td class="ListNewItem_Center"
                                                                                        style="width:120px;" th:text="${cpc.checkProjectType}">
                                                                                    </td>
                                                                                    <td class="ListNewItem_Center tdTimes"
                                                                                        style="width:160px;" th:text="${cpc.checkTime}">
                                                                                    </td>
                                                                                    <td class="ListNewItem_Center"
                                                                                        style="width:80px;" th:text="${cpc.workDone}"></td>
                                                                                    <td class="ListNewItem_Center"
                                                                                        style="width:70px;" th:text="${cpc.principal}"></td>
                                                                                    <td class="ListNewItem_Center"
                                                                                        style="width:70px;" th:text="${cpc.principalPhone}"></td>
                                                                                </tr>
                                                                            </tbody>
                                                                        </table>
                                                                    </div>
                                                                </td>
                                                            </tr>
                                                        </tbody>
                                                    </table>
                                                </td>
                                            </tr>

                                        </tbody>
                                    </table>
                                </td>
                            </tr>
                        </tbody>
                    </table>
                </form>
            </div>
        </div>
    </div>
    <th:block th:include="include :: footer" />
    <script th:src="@{/js/plugins/datetime/moment.js}"></script>
	<script th:inline="javascript">
	var tdStr = $('.tdTimes');
	for(var i =0;i<tdStr.length;i++){
		var strDate = tdStr[i].innerText;
		tdStr[i].innerText =  moment(strDate,'YYYY-MM-DD').format('YYYY-MM-DD');
	};
	</script>
</body>

</html>